package com.mango.demo.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @Author：wlz
 * @Package：com.mango.demo.vo
 * @Project：mangodemo
 * @name：Book
 * @Date：2023/3/21 19:46
 * @Filename：Book
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document("book")
public class Book {
    @Id
    private Integer id;

    private String name;

    private String type;

    private String description;
}
